﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace H2.NET.Web.Workflow.Models
{
    public class GridData<T>
    {
        public List<T> Rows { get; set; }

        public int Total { get; set; }


        public GridData(List<T> sourse)
        {
            Rows = sourse;
            Total = sourse.Count;
        }
        public GridData(List<T> sourse, int total)
        {
            Rows = sourse;
            Total = total;
        }
    }
}